/**
    {
    "hVW8t6v" : "sS3LeU4",
    "pP5bFhuLNYKo" : "2",
    "vXKuhm" : "false",
    "3fx1eR3Et" : null,
    "PUtfdbzli" : "2025-10-18 15:05:21",
    "c1gTBtcd" : "uKAE1I@falay-ol.com",
    "obscure" : [ {
    "christian" : "",
    "beersheba" : "",
    "most" : "",
    "discernible" : "Emergency contact 1",
    "heathen" : "Contact relationship",
    "entered" : "Please select a contact relationship",
    "broken" : "Phone number",
    "arm" : "Please select a phone number",
    "usually" : [ {
    "beersheba" : "Parent",
    "heard" : "1"
    }, {
    "beersheba" : "Spouse",
    "heard" : "2"
    }, {
    "beersheba" : "Child",
    "heard" : "3"
    }, {
    "beersheba" : "Sibling",
    "heard" : "4"
    }, {
    "beersheba" : "Friend",
    "heard" : "5"
    }, {
    "beersheba" : "Colleague",
    "heard" : "6"
    }, {
    "beersheba" : "other",
    "heard" : "7"
    } ]
    }, {
    "christian" : "",
    "beersheba" : "",
    "most" : "",
    "discernible" : "Emergency contact 2",
    "heathen" : "Contact relationship",
    "entered" : "Please select a contact relationship",
    "broken" : "Phone number",
    "arm" : "Please select a phone number",
    "usually" : [ {
    "beersheba" : "Parent",
    "heard" : "1"
    }, {
    "beersheba" : "Spouse",
    "heard" : "2"
    }, {
    "beersheba" : "Child",
    "heard" : "3"
    }, {
    "beersheba" : "Sibling",
    "heard" : "4"
    }, {
    "beersheba" : "Friend",
    "heard" : "5"
    }, {
    "beersheba" : "Colleague",
    "heard" : "6"
    }, {
    "beersheba" : "other",
    "heard" : "7"
    } ]
    }, {
    "christian" : "",
    "beersheba" : "",
    "most" : "",
    "discernible" : "Emergency contact 3",
    "heathen" : "Contact relationship",
    "entered" : "Please select a contact relationship",
    "broken" : "Phone number",
    "arm" : "Please select a phone number",
    "usually" : [ {
    "beersheba" : "Parent",
    "heard" : "1"
    }, {
    "beersheba" : "Spouse",
    "heard" : "2"
    }, {
    "beersheba" : "Child",
    "heard" : "3"
    }, {
    "beersheba" : "Sibling",
    "heard" : "4"
    }, {
    "beersheba" : "Friend",
    "heard" : "5"
    }, {
    "beersheba" : "Colleague",
    "heard" : "6"
    }, {
    "beersheba" : "other",
    "heard" : "7"
    } ]
    } ],
    "floor" : [ ],
    "upType" : 0
    }
 */

class DnpEmergencyModel {
  String? christian;
  String? beersheba;
  String? most;
  final String? discernible;
  final String? heathen;
  final String? entered;
  final String? broken;
  final String? arm;
  final List<DnpUsually>? usually;

  DnpEmergencyModel({
    this.discernible,
    this.heathen,
    this.entered,
    this.broken,
    this.arm,
    this.usually,
    this.christian,
    this.beersheba,
    this.most,
  });

  factory DnpEmergencyModel.fromJson(Map<String, dynamic> json) {
    return DnpEmergencyModel(
      discernible: json['discernible'],
      heathen: json['heathen'],
      entered: json['entered'],
      broken: json['broken'],
      arm: json['arm'],
      usually: json['usually'] != null
          ? (json['usually'] as List)
              .map((i) => DnpUsually.fromJson(i))
              .toList()
          : null,
      christian: json['christian'],
      beersheba: json['beersheba'],
      most: json['most'],
    );
  }
}

class DnpUsually {
  final String? beersheba;
  final String? heard;

  DnpUsually({this.beersheba, this.heard});

  factory DnpUsually.fromJson(Map<String, dynamic> json) {
    return DnpUsually(
      beersheba: json['beersheba'],
      heard: json['heard'],
    );
  }
}
